🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / androidApp / src / fdroid / kotlin / org / meshtastic / app / node / metrics / TracerouteMapOverlayInsets.kt
Displaying Raw • Download
androidApp/src/fdroid/kotlin/org/meshtastic/app/node/metrics/TracerouteMapOverlayInsets.kt renovate/fastlane-2.x-lockfile (056eed64) Text, 1.78 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.app.node.metrics
Tff7b72import T7ee787androidx.compose.foundation.layout.PaddingValues
Tff7b72import T7ee787androidx.compose.ui.Alignment
Tff7b72import T7ee787androidx.compose.ui.unit.dp
Tff7b72import T7ee787org.meshtastic.core.ui.util.TracerouteMapOverlayInsets
T8b949e/**
* Where the hop count and route legend sit over the MapLibre traceroute map.
*
* Bottom-centre, the same place the Google flavor puts them, and for the same reason: the lower trailing corner now
* holds this map's zoom controls, as Google's own always did there. This flavour used to override the alignment to
* BottomEnd because that corner was empty — with zoom in it, the legend was covering the zoom-out button. Left as an
* explicit override rather than deleted so the next person sees the corner is taken.
*/
Tff7b72fun Td2a8ffgetTracerouteMapOverlayInsetsTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3TracerouteMapOverlayInsets Tff7b72= Te6edf3TracerouteMapOverlayInsetsTb4b4b4(
Te6edf3overlayAlignment Tff7b72= Te6edf3AlignmentTb4b4b4.Te6edf3BottomCenterTb4b4b4,
T8b949e// Clear of the logo and attribution row along the bottom edge.
Te6edf3overlayPadding Tff7b72= Te6edf3PaddingValuesTb4b4b4(Te6edf3bottom Tff7b72= T79c0ff4T79c0ff8.Te6edf3dpTb4b4b4)Tb4b4b4,
Te6edf3contentHorizontalAlignment Tff7b72= Te6edf3AlignmentTb4b4b4.Te6edf3CenterHorizontallyTb4b4b4,
Tb4b4b4)
Served by rngit 1.5.2 - Generated in 0.07s